package com.atguigu.pojo;

import java.util.Date;

public class Container {
    private String id;
    private String serverId;
    private String serviceId;
    private String name;
    private String imageVersion;
    private String cpu;
    private String memory;
    private String ip;
    private String volume;
    private String portMap;
    private String use;
    private Date endTime;

    public Container() {
    }

    public Container(String id, String serverId, String serviceId, String name, String imageVersion, String cpu, String memory, String ip, String volume, String portMap, String use, Date endTime) {
        this.id = id;
        this.serverId = serverId;
        this.serviceId = serviceId;
        this.name = name;
        this.imageVersion = imageVersion;
        this.cpu = cpu;
        this.memory = memory;
        this.ip = ip;
        this.volume = volume;
        this.portMap = portMap;
        this.use = use;
        this.endTime = endTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getServerId() {
        return serverId;
    }

    public void setServerId(String serverId) {
        this.serverId = serverId;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImageVersion() {
        return imageVersion;
    }

    public void setImageVersion(String imageVersion) {
        this.imageVersion = imageVersion;
    }

    public String getCpu() {
        return cpu;
    }

    public void setCpu(String cpu) {
        this.cpu = cpu;
    }

    public String getMemory() {
        return memory;
    }

    public void setMemory(String memory) {
        this.memory = memory;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getVolume() {
        return volume;
    }

    public void setVolume(String volume) {
        this.volume = volume;
    }

    public String getPortMap() {
        return portMap;
    }

    public void setPortMap(String portMap) {
        this.portMap = portMap;
    }

    public String getUse() {
        return use;
    }

    public void setUse(String use) {
        this.use = use;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "Container{" +
                "id='" + id + '\'' +
                ", serverId='" + serverId + '\'' +
                ", serviceId='" + serviceId + '\'' +
                ", name='" + name + '\'' +
                ", imageVersion='" + imageVersion + '\'' +
                ", cpu='" + cpu + '\'' +
                ", memory='" + memory + '\'' +
                ", ip='" + ip + '\'' +
                ", volume='" + volume + '\'' +
                ", portMap='" + portMap + '\'' +
                ", use='" + use + '\'' +
                ", endTime=" + endTime +
                '}';
    }
}
